﻿#ifndef MYPUSHBUTTONFOURARITHMETIC_P_H
#define MYPUSHBUTTONFOURARITHMETIC_P_H

#include "mypushbuttonfourarithmetic.h"

class MyPushButtonFourArithmeticPrivate
{
public:
    MyPushButtonFourArithmeticPrivate();
    ~MyPushButtonFourArithmeticPrivate();

    /* ImageLayer Property */
    int imageLayerIndex;                                // ImageLayer's Index

    /* Device Property */
    int leftOperandDeviceIndex;
    int rightOperandDeviceIndex;
    My::ObjectType leftOperandObjectType;
    My::ObjectType rightOperandObjectType;
    int leftOperandObjectIndex;
    int rightOperandObjectIndex;

    /* Func Property */
    My::FourArithmeticType arithmeticType;

    /* Operand Property */
    My::NumberType leftOperandNumberType;
    My::NumberType rightOperandNumberType;
    My::NumberBaseType leftOperandBaseType;
    My::NumberBaseType rightOperandBaseType;
    double leftOperand;
    double rightOperand;

    /* Result Property */
    int resultDeviceIndex;
    My::ObjectType resultObjectType;
    int resultObjectIndex;

    /* Display Property */
    bool displayDefault;

    /* Mouse Parameters */
    bool LeftmousePressed;                                          // The flag of leftmouse be pressed
    QPointF mousePressPoint;                                        // The current coordinates of mouse click

};


#endif // MYPUSHBUTTONFOURARITHMETIC_P_H
